package zhupf.test.designPattern.prototype.simpleClone;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Sheep implements Cloneable {

    private Integer age;

    private String name;

    private Sheep sheep;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
